package com.team7.happycommunity.parkservice.dao;

import com.team7.happycommunity.parkservice.pojo.AreaInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AreaInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AreaInfo record);

    int insertSelective(AreaInfo record);

    AreaInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AreaInfo record);

    int updateByPrimaryKey(AreaInfo record);

    @Select("select * from areainfo")
    List<AreaInfo> selectAll();
}